package com.caibq;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;

/**
 * projectName: demo_box
 *
 * @author: 蔡百强
 * time: 2024/1/25 21:44 周四
 * description:
 */
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum  UserType{
    VIP("VIP用户"),
    COMMON("普通用户");
    private String code;
    private String type;

    UserType(String type) {
        this.code = name();
        this.type = type;
    }
}
